package com.example.recycler.eventvie;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.FrameLayout;

/**
 * Created by Administrator on 2017/3/6.
 */

public class LLayout extends FrameLayout{
    public LLayout(Context context) {
        super(context);
    }

    public LLayout(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public boolean dispatchTouchEvent(MotionEvent ev) {
        System.out.println("LLayout.dispatchTouchEvent");
//        super.dispatchTouchEvent(ev)
        return super.dispatchTouchEvent(ev);
    }

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        System.out.println("LLayout.onTouchEvent");
//        super.onTouchEvent(event)
        return super.onTouchEvent(event);
    }

    @Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        System.out.println("LLayout.onInterceptTouchEvent");
        return super.onInterceptTouchEvent(ev);
    }
}
